#!/bin/sh
exec &> ~/.wsession-errors
export XDG_RUNTIME_DIR=/tmp/runtime-$UID
mkdir -p $XDG_RUNTIME_DIR
chown $UID:$UID $XDG_RUNTIME_DIR 
chmod 700 $XDG_RUNTIME_DIR
export XKB_DEFAULT_LAYOUT=`initc keyboard`
exec $1
